package com.ecoolex.ying.space.core.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.ecoolex.framework.common.pojo.Page;
import com.ecoolex.ying.space.core.mapper.EstateProjectActivityGoodsMapper;
import com.ecoolex.ying.space.entity.EstateProjectActivityGoods;

public interface EstateProjectActivityGoodsDAO extends EstateProjectActivityGoodsMapper {
	
	long countByPrimaryCaterogy(@Param("activityName") String activityName,
		@Param("activityCategoryId") Integer activityCategoryId,
		@Param("online") Boolean online);
	
	List<EstateProjectActivityGoods> queryByPrimaryCaterogy(@Param("activityName") String activityName,
		@Param("activityCategoryId") Integer activityCategoryId,
		@Param("online") Boolean online, 
		@Param("sorts") String sorts, 
		@Param("page") Page page);
}